package iliasTests;

public class Zaehler
{
    static void schleife(int n)
    {
        int zaehler = 0;
        for (int i = 1; i <= n; i++)
        {
            for (int j = 1; j <= i; j += 1)
            {
                zaehler++;
            }
        }
        System.out.println(String.valueOf(zaehler));
    }

    public static void main(String[] args)
    {
        schleife(8);
    }
}
